package com.fly.snailrun.base.exception;

/**
 * Throw this when system error like jdbc-timeout or external-api-failure occurs.
 *
 * @author danny
 */
public class SystemException extends RuntimeException {

    /**
     * Constructs a new system exception with error message.
     */
    public SystemException(String message) {
        super(message);
    }

    /**
     * Constructs a new system exception with error message and cause.
     */
    public SystemException(String message, Throwable cause) {
        super(message, cause);
    }
}
